#include "mylabel.h"
#include <QDebug>


myLabel::myLabel(QWidget* parent)
    :QLabel(parent)
{

}

void myLabel::enterEvent(QEvent *event)
{
    (void)event;
    qDebug() << "鼠标进来啦!!";

}

void myLabel::leaveEvent(QEvent *event)
{
    (void)event;
    qDebug() << "鼠标又出来啦!!";

}
